package zhan;

import java.util.Scanner;

public class MidEnd {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String mid = scanner.nextLine();
        String end = "";
        Stack<String> stack = new Stack<String>();

        for (int i = 0; i < mid.length(); i++) {
            String ch = mid.charAt(i) + "";
            switch (ch) {
                case "+":
                    while (stack.firstValue()!="("){

                    }
                case "-":
                case "*":
                case "/":
                case "(":
                case ")":
                default:
                    end=end+ch;
            }
        }

    }
}
